package com.shinlooker.hencoder

import android.os.Bundle
import android.util.Log
import androidx.appcompat.app.AppCompatActivity

import com.shinlooker.hencoder.utils.Base64Util
import com.shinlooker.hencoder.utils.Sha1Util

class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
//        JSCardService.initialize(this, "15801313913")
//        val seid = "123456"
        val seid = "05F79710D5658EFF9D4B157FC70CBF67000226217740"
        val encryptToSHA = Sha1Util.encryptToSHA(seid)
        Log.i("Test Sha1Util-->", encryptToSHA)
        val encode = Base64Util.encode(encryptToSHA)
        Log.i("Test Base64Util-->", encode)
    }
}